function voltages = commandVoltages(x, t, robot, commands)
% calculate the voltages using the commands
% command.speed(i)
% command.angle(i)

% TODO turning code
% TODO flipping code

for i = 1:robot.modules
	voltages.drive(i) = 12*commands.speed(i);
	voltages.turn(i) = 0;
end

return
